package com.sdlg.service;

import com.sdlg.pojo.Root;
import com.sdlg.util.Result;

import javax.servlet.http.HttpServletRequest;

public interface RootService {
    Root login(String username, String password, HttpServletRequest request) throws Exception;
    Result getUserAndRoleInfo(Integer id);
}
